package lab04.Test03;

/**
 * Created by Administrator on 2017/12/1.
 */
public class PrintBRunnable implements Runnable {
    @Override
    public void run() {
        while (true){
            try {
                Thread.sleep(2000);
                System.out.print("B");
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
